package com.zzyl.entity;

import com.zzyl.base.BaseEntity;
import lombok.Data;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiModelProperty;
import com.fasterxml.jackson.annotation.JsonFormat;



/**
 * 护理计划实体类
 */
@Api(description = "护理计划模型")
@Data
public class NursingPlan extends BaseEntity {

    @ApiModelProperty(value = "护理计划的名称", required = true)
    private String planName;

    @ApiModelProperty(value = "排序号", example = "01")
    private String sortNo;

    @ApiModelProperty(value = "服务时间", example = "09:00-10:00")
    private String serviceTime;

    @ApiModelProperty(value = "执行周期", example = "每周")
    private String executeCycle;

    @ApiModelProperty(value = "执行频次", example = "每天")
    private String executeFrequency;

    @ApiModelProperty(value = "计划执行时间", example = "2024-09-01T10:00:00")
    @JsonFormat(pattern="yyyy-MM-dd'T'HH:mm:ss", timezone="Asia/Shanghai")
    private String executeTime;

    @ApiModelProperty(value = "状态", allowableValues = "DRAFT,ACTIVE,INACTIVE", example = "ACTIVE")
    private String status;
}
